package com.ruoyi.web.service.Impl;

import com.ruoyi.common.annotation.DataScope;
import com.ruoyi.web.domain.mes.report.PersionSalary;
import com.ruoyi.web.domain.mes.report.PersionSalaryDetails;
import com.ruoyi.web.domain.mes.report.Personnelpayday;
import com.ruoyi.web.mapper.PersionSalaryMapper;
import com.ruoyi.web.service.PersionSalaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PersionSalaryServiceImpl implements PersionSalaryService {


    @Autowired
    private PersionSalaryMapper persionSalaryMapper;

    @DataScope(deptAlias = "t",userAlias = "u1")
    @Override
    public List<PersionSalary> GetPersionSalary(PersionSalary salary) {
        return persionSalaryMapper.GetPersionSalary(salary);
    }


    @DataScope(deptAlias = "t",userAlias = "u1")
    @Override
    public List<PersionSalaryDetails> GetPersionSalaryDetails(PersionSalary salary) {
        return persionSalaryMapper.GetPersionSalaryDetails(salary);
    }



    @DataScope(deptAlias = "t",userAlias = "u1")
    @Override
    public List<Personnelpayday> GetPersionSalaryDetailsexport(PersionSalary salary) {
        return persionSalaryMapper.GetPersionSalaryDetailsexport(salary);
    }



    @DataScope(deptAlias = "t",userAlias = "u1")
    @Override
    public List<Personnelpayday> GetPersionSalaryPrint(PersionSalary salary) {

        return persionSalaryMapper.GetPersionSalaryPrint(salary);
    }
}
